﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Sysgeprava.Entities
{
    public partial class HIST_CONTROL
    {
        public int Id { get; set; }
        public int IdControl { get; set; }
        public int IdBovino { get; set; }
        public Nullable<int> IdPajilla { get; set; }

        [Display(Name = "Fecha")]
        [Required(ErrorMessage = "La Fecha es requerida")]
        public DateTime Fecha { get; set; }

        [Display(Name = "Observacion")]
        [Required(ErrorMessage = "La Observación es requerida")]
        public string Observacion { get; set; }

        public virtual CONTROL CONTROL { get; set; }
        public virtual BOVINO BOVINO { get; set; }
        public virtual PAJILLA PAJILLA { get; set; }
    }
}
